|
|
@@ -24,7 +24,7 @@ module Agents
|
24
|
24
|
* `template` - A JSON object representing a mapping between item output keys and incoming event values. Use [Liquid](https://github.com/cantino/huginn/wiki/Formatting-Events-using-Liquid) to format the values. Values of the `link`, `title`, `description` and `icon` keys will be put into the \\<channel\\> section of RSS output. Value of the `self` key will be used as URL for this feed itself, which is useful when you serve it via reverse proxy. The `item` key will be repeated for every Event. The `pubDate` key for each item will have the creation time of the Event unless given.
|
25
|
25
|
* `events_to_show` - The number of events to output in RSS or JSON. (default: `40`)
|
26
|
26
|
* `ttl` - A value for the \\<ttl\\> element in RSS output. (default: `60`)
|
27
|
|
- * `push_hubs` - Set to a list of PubSubHubbub endpoints you want to publish every update to. (default: none) Note that publishing updates will make your feed public. Popular hubs include [Superfeedr](https://pubsubhubbub.superfeedr.com/) and [Google](https://pubsubhubbub.appspot.com/).
|
|
27
|
+ * `push_hubs` - Set to a list of PubSubHubbub endpoints you want to publish an update to every time this agent receives an event. (default: none) Popular hubs include [Superfeedr](https://pubsubhubbub.superfeedr.com/) and [Google](https://pubsubhubbub.appspot.com/). Note that publishing updates will make your feed URL known to the public, so if you want to keep it secret, set up a reverse proxy to serve your feed via a safe URL and specify it in `template.self`.
|
28
|
28
|
|
29
|
29
|
If you'd like to output RSS tags with attributes, such as `enclosure`, use something like the following in your `template`:
|
30
|
30
|
|